.es-richText {
  position: relative;
  box-sizing: border-box;
  border-radius: 3px;
  border: 1px solid #AAAAAA;
  box-shadow: 0 0 6px #00000030;
  height: fit-content;
}

.es-richText iframe {
  border: none;
}

.es-richText textarea {
  border: none;
  resize: none;
  width: 100%;
  height: 100%;
  background: transparent;
  box-sizing: border-box;
  word-break: break-all;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.es-richText textarea:focus {
  outline: none;
}

.es-richText .toolbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  border-bottom: 1px solid #AAAAAA;
  padding: 3px 5px;
  background: #FFFFFF;
  overflow: hidden;
  z-index: 1;
}

.es-richText .toolbar div {
  padding: 4px 8px;
  margin: 3px;
  border-radius: 3px;
  transition: all .3s;
  cursor: pointer;
  user-select: none;
}

.es-richText .toolbar div:hover {
  background: #00000024;
}

.es-richText .HtmlEdit {
  word-wrap: break-word;
  word-break: break-all;
}

.trueView {
  height: 667px;
  width: 375px;
  flex-shrink: 0;
  margin-right: 50px;
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 3px;
  border: 1px solid #AAAAAA;
  box-shadow: 0 0 6px #00000030;
  overflow-y: scroll;
  word-wrap: break-word;
  word-break: break-all;
}

.trueView::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 8px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}

.trueView:hover::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 8px;
  /* box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); */
  background: #DDDDDD;
}

.trueView:hover::-webkit-scrollbar-track-piece {
  /* 滚动条里面轨道 -piece 鼠标放上去才显示*/
  /* box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1); */
  border-radius: 8px;
  background: #F4F4F4;
}